package com.caishi.lkx.exam.ienum.type;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

public enum AddFrequencyType {

    download_time("下载次数", 1),
    watch_time("观看次数", 2),
    like_time("点赞次数", 3),
    ;

    @Getter
    final
    String desc;

    @Getter
    @EnumValue
    final
    Integer code;

    AddFrequencyType(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }
}
